﻿<%@ Page Title="Coca-Cola 安排检查任务" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="AssignSiteStep2.aspx.cs" Inherits="PCMSofCC.Admin.AssignSiteStep2" %>

<%@ Register Src="~/GoogleMapForASPNet.ascx" TagName="GoogleMapForASPNet" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <link href="../css/content.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div id="container" class="container">
            <div id="sidebar" class="sidebar">
                <div id="SiteListContainer" class="SiteListContainer">
                    <p>
                        <asp:Literal ID="litDate" runat="server"></asp:Literal>
                    </p>
                    <p>
                        当日已分配的点：<br />
                        <asp:ListBox ID="SiteListUsed" runat="server" CssClass="listBox" EnableViewState="true">
                        </asp:ListBox>
                    </p>
                    <br />
                </div>
                <div id="SelectAreaConatiner" class="SelectAreaConatiner">
                    <p>
                        选择表格：<br />
                        <asp:DropDownList ID="AreaList" runat="server" CssClass="dropDownList" OnSelectedIndexChanged="AreaList_SelectedIndexChanged"
                            DataSourceID="SqlDataSource1" DataTextField="Name" DataValueField="Id">
                            <asp:ListItem>aaa</asp:ListItem>
                            <asp:ListItem>bbb</asp:ListItem>
                            <asp:ListItem>ccc</asp:ListItem>
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
                            SelectCommand="SELECT * FROM [ScoreChart]"></asp:SqlDataSource>
                    </p>
                </div>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div id="SiteListContainer" class="SiteListContainer">
                            <p>
                                待分配的点：<br />
                                <asp:ListBox ID="SiteListUnused" runat="server" CssClass="listBox" EnableViewState="true"
                                    AutoPostBack="True" OnSelectedIndexChanged="SiteListUnused_SelectedIndexChanged">
                                </asp:ListBox>
                                <br />
                            </p>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <p>
                    <asp:Button ID="Submit" runat="server" Text="提交" CssClass="button4" 
                        onclick="Submit_Click" />
                </p>
            </div>
            <div id="content" class="content">
                <uc1:GoogleMapForASPNet ID="GoogleMapForASPNet1" runat="server" EnableViewState="True" />
            </div>
        </div>
    </body>
    </html>
</asp:Content>
